home *** CD-ROM | disk | FTP | other *** search
/ SIGGRAPH 2002 Course Notes / SIGGRAPH 2002 - Course Notes - Disc 1.iso / pc / notes / 18 / supplemental_material / SVG_Ex / polyline2.svg < prev    next >
Encoding:
Extensible Markup Language  |  2002-04-22  |  624 b   |  15 lines

  1. <?xml version="1.0" encoding="iso-8859-1"?>
  2. <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
  3.      "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
  4. <svg xmlns="http://www.w3.org/2000/svg">
  5.    <defs>
  6.        <marker id="Tri" viewBox="0 0 10 10" refX="0" refY="5" 
  7.                markerUnits="strokeWidth" markerWidth="6" markerHeight="6" orient="auto"> 
  8.               <path d="M 0 0 L 10 5 L 0 10 z" /> 
  9.        </marker> 
  10.    </defs> 
  11.  
  12.    <polyline fill="none" stroke="darkred" stroke-width="5" marker-end="url(#Tri)"
  13.              points="0,400 100,250 225,300 300,150 400,200 500,275 525,210" /> 
  14. </svg>
  15.